Skip to content

Conversation

@agatha197
Copy link
Contributor

@agatha197 agatha197 commented Oct 21, 2025

Resolves #4424 (FR-1575)

Disable Admin Dashboard Menu Item and Enhance Dashboard Page for Superadmins

This PR temporarily disables the Admin Dashboard menu item with a TODO comment to re-enable it when the page is ready. It also enhances the Dashboard page for superadmins by:

  1. Renaming "My Sessions" to "Active Sessions" for superadmins
  2. Adding Agent Stats component for superadmins when supported by the backend
  3. Adding Active Agents component for superadmins

These changes provide superadmins with a more comprehensive view of system activity directly from the dashboard.

Checklist:

  • Documentation
  • Minium required manager version
  • Specific setting for review (eg., KB link, endpoint or how to setup)
  • Minimum requirements to check during review
  • Test case(s) to demonstrate the difference of before/after

@agatha197 agatha197 marked this pull request as ready for review October 21, 2025 06:38
@github-actions github-actions bot added the size:M 30~100 LoC label Oct 21, 2025
Copy link
Contributor Author

agatha197 commented Oct 21, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • flow:merge-queue - adds this PR to the back of the merge queue
  • flow:hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has required the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions
Copy link

github-actions bot commented Oct 21, 2025

Coverage report for ./react

St.
Category Percentage Covered / Total
🔴 Statements
4.65% (-0% 🔻)
532/11435
🔴 Branches
3.76% (-0% 🔻)
302/8031
🔴 Functions
2.88% (-0% 🔻)
102/3544
🔴 Lines
4.6% (-0% 🔻)
514/11176

Test suite run success

121 tests passing in 14 suites.

Report generated by 🧪jest coverage report action from ea01880

Copy link
Contributor

@ironAiken2 ironAiken2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@agatha197 agatha197 force-pushed the feat_FR-1575_/merge-dashboard branch 2 times, most recently from 5a670d4 to 7bfe16c Compare October 21, 2025 09:14
@yomybaby yomybaby force-pushed the feat_FR-1575_/merge-dashboard branch from 7bfe16c to ea01880 Compare October 21, 2025 09:17
@yomybaby yomybaby force-pushed the feat_FR-873_/set-dashboard-page-as-a-default branch from 202d296 to 16b9c95 Compare October 21, 2025 09:17
@agatha197 agatha197 requested a review from yomybaby October 21, 2025 15:08
Copy link
Member

@yomybaby yomybaby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@graphite-app
Copy link

graphite-app bot commented Oct 22, 2025

Merge activity

@agatha197 agatha197 changed the base branch from feat_FR-873_/set-dashboard-page-as-a-default to graphite-base/4425 October 22, 2025 09:24
Resolves #4424 ([FR-1575](https://lablup.atlassian.net/browse/FR-1575))

# Disable Admin Dashboard Menu Item and Enhance Dashboard Page for Superadmins

This PR temporarily disables the Admin Dashboard menu item with a TODO comment to re-enable it when the page is ready. It also enhances the Dashboard page for superadmins by:

1. Renaming "My Sessions" to "Active Sessions" for superadmins
2. Adding Agent Stats component for superadmins when supported by the backend
3. Adding Active Agents component for superadmins

These changes provide superadmins with a more comprehensive view of system activity directly from the dashboard.

**Checklist:**

- [ ] Documentation
- [ ] Minium required manager version
- [ ] Specific setting for review (eg., KB link, endpoint or how to setup)
- [ ] Minimum requirements to check during review
- [ ] Test case(s) to demonstrate the difference of before/after

[FR-1575]: https://lablup.atlassian.net/browse/FR-1575?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
@graphite-app graphite-app bot force-pushed the feat_FR-1575_/merge-dashboard branch from ea01880 to de8b846 Compare October 22, 2025 09:27
@github-actions github-actions bot added area:lib Library and SDK related issue. area:ux UI / UX issue. area:i18n Localization size:XL 500~ LoC and removed size:M 30~100 LoC labels Oct 22, 2025
@graphite-app graphite-app bot changed the base branch from graphite-base/4425 to feat_FR-873_/set-dashboard-page-as-a-default October 22, 2025 09:27
Base automatically changed from feat_FR-873_/set-dashboard-page-as-a-default to main October 22, 2025 09:28
@graphite-app graphite-app bot merged commit de8b846 into main Oct 22, 2025
5 checks passed
@graphite-app graphite-app bot deleted the feat_FR-1575_/merge-dashboard branch October 22, 2025 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:i18n Localization area:lib Library and SDK related issue. area:ux UI / UX issue. size:XL 500~ LoC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

merge admin dashboard into user dashboard

3 participants